package de.tsystems.dict.api;

import de.tsystems.dict.api.impl.TranslationDao;
import de.tsystems.dict.model.Language;
import de.tsystems.dict.model.Translation;
import de.tsystems.dict.model.Word;

import java.util.List;

public interface TranslationService extends GenericService<Translation> {

    void setTranslationDao(TranslationDao TranslationDao);

    TranslationDao getTranslationDao();

    List<Word> getTranslationWords(Word word, Language language);

    List<Word> getTranslationWords(Word word);

    boolean createTranslation(Word left, Word right);
}
